.TH "src/library/debug.h" 3 "Thu Oct 11 2012" "Version 1.0" "Dissasemble" \" -*- nroff -*-
.ad l
.nh
.SH NAME
src/library/debug.h \- 
.SH SYNOPSIS
.br
.PP
\fC#include <config\&.h>\fP
.br
\fC#include <assert\&.h>\fP
.br
\fC#include <stdio\&.h>\fP
.br
\fC#include <stdlib\&.h>\fP
.br
\fC#include <string\&.h>\fP
.br

.SS "Defines"

.in +1c
.ti -1c
.RI "#define \fBDEBUG_ALL\fP   1"
.br
.RI "\fIDebug all process\&. \fP"
.ti -1c
.RI "#define \fBDEBUG_INS_TAG\fP   1"
.br
.RI "\fIDebug instruction tag\&. \fP"
.ti -1c
.RI "#define \fBDEBUG_INS_PROPERTIES\fP   1"
.br
.RI "\fIDebug instruction properties\&. \fP"
.ti -1c
.RI "#define \fBDEBUG_INS_OPCODE_ATTRIBUTES\fP   1"
.br
.RI "\fIDebug operation codes attributes\&. \fP"
.ti -1c
.RI "#define \fBDEBUG_ELF_HEADER_PROCESS\fP   1"
.br
.RI "\fIDebug ELF header process\&. \fP"
.ti -1c
.RI "#define \fBDEBUG_DECODE_NEXT_INSTRUCTION\fP   1"
.br
.RI "\fIDebug next instruction\&. \fP"
.ti -1c
.RI "#define \fBPRINT_DEBUG\fP(fmt, args\&.\&.\&.)"
.br
.RI "\fIPrint Debug\&. \fP"
.ti -1c
.RI "#define \fBSTATUS_ERROR\fP   1"
.br
.RI "\fIResponse code when a process was run efficiently\&. \fP"
.ti -1c
.RI "#define \fBSTATUS_SUCCESS\fP   0"
.br
.RI "\fIResponse code when a process has performed an error in its execution\&. \fP"
.ti -1c
.RI "#define \fBERROR\fP(x)   (x!=0)"
.br
.RI "\fIShow error\&. \fP"
.ti -1c
.RI "#define \fBERROR_HANDLE\fP(x)   if(\fBERROR\fP(x)){fprintf(stderr,'Wrong use of program!!!\\n');exit(EXIT_FAILURE);}"
.br
.RI "\fIError during execution of the program, it stops running\&. \fP"
.in -1c
.SS "Functions"

.in +1c
.ti -1c
.RI "void \fBPRINT_ERROR\fP (const char *,\&.\&.\&.)"
.br
.RI "\fIDisplays the error message\&. \fP"
.in -1c
.SH "Define Documentation"
.PP 
.SS "#define \fBDEBUG_ALL\fP   1"
.PP
Debug all process\&. 
.SS "#define \fBDEBUG_DECODE_NEXT_INSTRUCTION\fP   1"
.PP
Debug next instruction\&. 
.SS "#define \fBDEBUG_ELF_HEADER_PROCESS\fP   1"
.PP
Debug ELF header process\&. 
.SS "#define \fBDEBUG_INS_OPCODE_ATTRIBUTES\fP   1"
.PP
Debug operation codes attributes\&. 
.SS "#define \fBDEBUG_INS_PROPERTIES\fP   1"
.PP
Debug instruction properties\&. 
.SS "#define \fBDEBUG_INS_TAG\fP   1"
.PP
Debug instruction tag\&. 
.SS "#define \fBERROR\fP(x)   (x!=0)"
.PP
Show error\&. 
.SS "#define \fBERROR_HANDLE\fP(x)   if(\fBERROR\fP(x)){fprintf(stderr,'Wrong use of program!!!\\n');exit(EXIT_FAILURE);}"
.PP
Error during execution of the program, it stops running\&. 
.SS "#define \fBPRINT_DEBUG\fP(fmt, args\&.\&.\&.)"
.PP
Print Debug\&. 
.SS "#define \fBSTATUS_ERROR\fP   1"
.PP
Response code when a process was run efficiently\&. 
.SS "#define \fBSTATUS_SUCCESS\fP   0"
.PP
Response code when a process has performed an error in its execution\&. 
.SH "Function Documentation"
.PP 
.SS "void \fBPRINT_ERROR\fP (const char *, \&.\&.\&.)"
.PP
Displays the error message\&. 
.SH "Author"
.PP 
Generated automatically by Doxygen for Dissasemble from the source code\&.
